const {Sequelize,Model} = require('sequelize')
const sequelize = require('../core/db')
class Code extends Model{}

Code.init({
    id: {
        type: Sequelize.INTEGER,
        primaryKey: true,
        autoIncrement:true
    },
    phone:Sequelize.BIGINT(11),
    code:Sequelize.BIGINT(11) 
}, {
    sequelize,
    tableName: 'code'
})

module.exports = Code